package com.itheima.service;

import com.github.pagehelper.PageInfo;
import com.itheima.pojo.Comment;
import com.itheima.vo.CommentVo;

import java.util.List;

public interface CommentService {

    void add(CommentVo commentVo);

    PageInfo<Comment> list(CommentVo commentVo);

    void delete(CommentVo commentVo);

    void deleteBatch(List<CommentVo> commentVoList);

    void edit(CommentVo commentVo);
}
